package org.witsoft.dtx.example.domain;

import jdk.nashorn.internal.objects.annotations.Getter;

/**
 * @author XiaoQing Lin
 * @date 2020-09-21 18:50
 */
public enum  WalletEvent {

    TRANSFER_IN("转入", 101),
    RETURN_IN("退回", 102),
    TRANSFER_OUT("转出", 201),
    RETURN_OUT("退回", 202);

    private String name;

    private int value;

    WalletEvent(String name , int value){
        this.name = name;
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
